<?php
class Rcp_Exception_Php extends Rcp_Exception_Core {
	
	const NOTICE = 'notice';
	const WARNING = 'warning';
	const ERROR = 'error';
	const PARSE = 'parse';
	const UNDEFINED = 'undefined';
	
	public function __construct($type, $level, $message, $file, $line) {
		$this->message = $message;
		$this->file = $file;
		$this->line = $line;
		$this->type = $type;
		$this->doLog = (bool)Rcp_Core::getInstance()->getConfigs()->log->php->power;
		parent::__construct();
	}
	
}